<script>
	export default {
		onLaunch: function() {
			// ios端音频不能在静音下播放处理
			    var music = wx.setInnerAudioOption({
			      obeyMuteSwitch: false,
			
			      success: function (res) {
			        console.log("开启静音模式下播放音乐的功能");
			      },
			
			      fail: function (err) {
			        console.log("静音设置失败");
			      },
			    });

		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "colorui/main.css";
	@import "colorui/icon.css";
	@import 'tuniao-ui/index.scss';
	@import 'tuniao-ui/iconfont.css';
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	// 设置整个项目的背景色
	page {
		background-color: #f5f5f5;
	}

	/* #endif */
	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
	.text-primary {
		color: #5677fc;
	}
</style>
